import styles from '../index.less';
import http from '@/http/index';
import { useEffect } from 'react';
import { dispath } from '@/state/index';
export default function IndexPage() {
  useEffect(() => {
    setTimeout(() => {
      dispath({
        name: 456,
      });
    }, 2000);
  }, []);
  return (
    <div>
      {new Array(100).fill(100).map((v) => {
        return <h1 className={styles.title}>Page Product</h1>;
      })}
    </div>
  );
}
